package com.aegean.CommercialHotelBookSystem.user.business;

import java.util.ArrayList;
import java.util.List;

import com.aegean.CommercialHotelBookSystem.model.Book;
import com.aegean.CommercialHotelBookSystem.model.BookDetail;
import com.aegean.CommercialHotelBookSystem.model.Customer;

public interface IUserBusiness {
	public boolean addUser(String dir, String picName, String fileName,
			String fileType, String User_Name, String User_RealName,
			String User_Pwd, String User_Sex, String User_Tel,
			String User_Email, String User_Identity);
	public boolean editUser(Customer one,String dir,String fileName,
			String fileType, String User_Name, String User_RealName,
			String User_Pwd, String User_Sex, String User_Tel,
			String User_Email, String User_Identity);
	public boolean editPwd(Customer one,String newPwd);
	public Customer loginUser(String User_Login,String User_Pwd);
	public List<Book> searchBooks(Customer customer,String hotel_Name,String book_Date);
	public List<BookDetail> searchBookDetails(int book_Id);
	public boolean serachUser(String User_Name);


}
